<style>
    .tree-folder{
        clear: both;
        background: none;
    }
    .tree-folder-open{
        clear: both;
        background: none;
    }
    td[field=sDepName] > .datagrid-cell > .fa{
        margin-top: 3px;
    }
    .tree-file{
        clear: both;
        background: none;
    }

</style>

<table style="width: 100%;height: 100%">
    <tbody>
    <tr>
        <td id="depTree" style="width: 470px" >
            <div id="cc" class="easyui-resizable" style="width:100%;height:100%;border:0px solid #ccc;"  data-options="maxWidth:400,minWidth:200">
                <table id="depList" title={% if type==1 %}"应用--时间 列表"{% else %}"时间--应用 列表"{% endif %} style="height: 100%"
                       data-options="
                url: 'getAppDeptList?tableType={{ type }}',
                method: 'get',
                rownumbers: true,
                idField: 'iDepId',
                treeField: 'sDepName',
                " >
                    <thead>
                    <tr>
                        <th data-options="field:'ck',checkbox:true"></th>
                        <th data-options="field:'iDepId'" width="20" hidden>iDepId</th>
                        <th data-options="field:'sDepName'" width="200" align="left">{% if type==1 %}应用名称{% else %}时间列表{% endif %}</th>
                        <th data-options="field:'download'" width="100" align="left" >下载</th>
                        <th data-options="field:'install'" width="100" align="left" >安装</th>
                    </tr>
                    </thead>
                </table>
            </div>
        </td>
        <td class="xh-datagrid">{{ staffList }}</td>
    </tr>
    </tbody>
</table>